package com.topscomm.mis.cbb.pm.service.abs;

import com.topscomm.mis.cbb.pm.api.ITestService;

import java.util.HashMap;
import java.util.Map;

public abstract class AbstractTestService implements ITestService {

    @Override
    public void load() {
        beforeLoad();
        Map<String, Object> rowData = new HashMap<>();
        System.out.println(1);
        afterLoad(rowData);
    }

    protected void beforeLoad() {

    }

    protected abstract void afterLoad(Map<String, Object> rowData);
}
